package com.example.dw.admin.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 管理员更新密码DTO
 * @author system
 * @since 2024-01-01
 */
@Data
public class AdminUpdatePasswordDTO {
    
    private Integer userid;
    
    @NotBlank(message = "旧密码不能为空")
    private String oldPassword;
    
    @NotBlank(message = "新密码不能为空")
    private String newPassword;
} 